/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-11 15:45:47
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-14 09:09:18
 */
import { legacy_createStore as createStore, applyMiddleware } from 'redux'
import reducer from './reducer'
import thunk from 'redux-thunk'
const store = createStore(reducer, applyMiddleware(thunk))

// import { configureStore } from '@reduxjs/toolkit'
// export const store = configureStore({
//   reducer: {
//     counter: reducer,
//   },
// })
export default store
